home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
progjour
/
1988
/
04
/
l4.asm
< prev
next >
Wrap
Assembly Source File
|
1988-04-02
|
471b
|
39 lines
; *** Listing 4 ***
;
; Sample code to illustrate various approaches to generating local
; symbols within REPT loops that don't seem to work with MASM 5.0.
;
dosseg
.model small
.code
mac1 macro
rept 10
local testlabel
jmp testlabel
testlabel:
endm
endm
mac2 macro
local testlabel
rept 10
jmp testlabel
testlabel:
endm
endm
start:
mac1
mac2
rept 10
local testlabel
jmp testlabel
testlabel:
endm
end start